package com.wust.util;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

import net.sf.json.JSONObject;






public class JsonUtil {






public  static  String buildWeiBoJson(String content,int  user_id,String time ,String mess_img)
{
	JSONObject weibo=new JSONObject();
	String mess_content=content;
	String mess_time= time;	
	String mess_img_url= mess_img;
 
	weibo.put("mess_content",mess_content); 
	weibo.put("mess_time", mess_time);
	weibo.put("user_id", user_id);
	weibo.put("mess_img_url", mess_img_url); //如果微博中有图片的话 这个得上传  这里暂定为无  


	return weibo.toString();

}
}

